<template>
  <div>
      <el-form size="mini" label-position="left" label-width="100px">
          <el-row :gutter="20">
              <el-col :span="8">
                  <el-form-item label="用户名">{{info.MemberName}}</el-form-item>
                  <el-form-item label="ID">{{info.IdCode}}</el-form-item>
                  <el-form-item label="真实姓名">{{info.RealName}}</el-form-item>
                  <el-form-item label="血型">{{info.BloodType}}</el-form-item>
                  <el-form-item label="城市">{{info.City}}</el-form-item>
                  <el-form-item label="紧急联系人">{{info.EmPerson}}</el-form-item>
                  <el-form-item label="紧急联系方式">{{info.EmContact}}</el-form-item>
                  <el-form-item label="邮箱">{{info.Email}}</el-form-item>
              </el-col>
              <el-col :span="8">
                  <el-form-item label="手机号">{{info.Phone}}</el-form-item>
                  <el-form-item label="性别">{{info.Sex ? '男' : '女'}}</el-form-item>
                  <el-form-item label="身份证">{{info.IdCard}}</el-form-item>
                  <el-form-item label="生日">{{info.BirthDay}}</el-form-item>
                  <el-form-item label="跑龄">{{info.RunAge}}</el-form-item>
                  <el-form-item label="鞋子尺码">{{info.ShoesSize}}</el-form-item>
                  <el-form-item label="衣服尺码">{{info.ClothSize}}</el-form-item>
              </el-col>
          </el-row>
      </el-form>
  </div>
</template>

<script>
export default {
    props : { member_id : {} },
    data(){
        return {
            info : {}
        }
    },
    mounted(){
        this.getData();
    },
    methods:{
        //获取用户信息
        getData(){
            this.ajaxs('user/getUserInfo',{
                data:{ member_id : this.member_id },
                success:(res) => {
                    this.info = res.msg;
                }
            });
        }
    }
}
</script>

<style>

</style>